<?php $this->pageTitle = 'Account | Mobilink.vn'; ?>

    <div class="user">
        <p>Tài khoản: <?php echo Tools::getMSISDN(); ?></p>
        <!--<p>Thiết bị: <?php /*echo $_SERVER['HTTP_USER_AGENT']; */?></p>-->
        <p>Clip đã mua: <?php echo $dataProviderClip->getItemCount(false); ?></p>
        <p>Film đã mua: <?php echo $dataProviderFilm->getItemCount(false); ?></p>
    </div>

    <div class="title_mod">
        <?php echo CHtml::link('
        <span class="mleft"></span>
        <span class="mcenter">Clip đã mua</span>
        <span class="mright"></span>',
            array('#'), array('title' => 'Clip đã mua')); ?>
    </div>

<?php $this->widget('zii.widgets.CListView', array(
    'dataProvider' => $dataProviderClip,
    'itemView' => 'pages/_viewclip',
    'summaryText' => '',
    'pager' => array(
        'firstPageLabel' => 'Đầu',
        'prevPageLabel' => 'Trước',
        'nextPageLabel' => 'Tiếp',
        'lastPageLabel' => 'Cuối',
        'maxButtonCount' => 0,
    ),
)); ?>

    <div class="title_mod">
        <?php echo CHtml::link('
        <span class="mleft"></span>
        <span class="mcenter">Film đã mua</span>
        <span class="mright"></span>',
            array('#'), array('title' => 'Film đã mua')); ?>
    </div>
<?php $this->widget('zii.widgets.CListView', array(
    'dataProvider' => $dataProviderFilm,
    'itemView' => 'pages/_viewfilm',
    'summaryText' => '',
    'pager' => array(
        'firstPageLabel' => 'Đầu',
        'prevPageLabel' => 'Trước',
        'nextPageLabel' => 'Tiếp',
        'lastPageLabel' => 'Cuối',
        'maxButtonCount' => 0,
    ),
)); ?>